package com.xlisteven.voice.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xlisteven.voice.mapper.ProductMapper;
import com.xlisteven.voice.pojo.Product;
import com.xlisteven.voice.service.ProductService;

@Service
public class ProductServiceImpl implements ProductService {

	@Autowired
	ProductMapper productMapper;

	@Override
	public int saveProduct(Product product) {
		return productMapper.insert(product);
	}

}
